<meta charset="UTF-8">
<style>
    ul{
        background-color: #ccc;
        list-style: none;
    }
    li{
        background: blue;
        margin: 20px 0 ;
        font-size: 20px;
        height: 40px;
        line-height: 40px;
    }
    ul li:hover{
        color:yellow;
        background-color: red;
        cursor: pointer;
    }
    .tips{
        width: 100px;
        height: 40px;
        position: absolute;
        pointer-events: none;  
        /* pointer-events: none;表示css属性穿透 */
        display: none;
    }
    .tips .meg{
        width: 100px;
        height: 30px;
        background: gray;
        color: deeppink;
        line-height: 30px;
        text-align: center;
    }
    .tips .triangle{
        width: 0;
        height: 0;
        border: 10px solid ;
        border-color: gray rgba(0, 0, 0, 0) rgba(0, 0, 255, 0) rgba(255, 217, 0, 0);
        transform: translateX(40px);
    }
</style>
<ul>
    <li>0000001</li>
    <li>0000002</li>
    <li>0000003</li>
    <li>0000004</li>
    <li>0000005</li>
</ul>
<div class="tips">
    <div class="meg">这是提示框</div>
    <div class="triangle"></div>     
    <!-- 设置倒三角 -->
</div>

<script src="./suspensionTips.js"></script>
<script>
    suspensionTips()
</script>